Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod v2 #1131

Closed
wants to merge 8 commits into from
Closed

Mod v2 #1131

wants to merge 8 commits into from

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Aug 30, 2024

No description provided.

jyemin and others added 8 commits August 30, 2024 13:02
…4.11.3

* Use mongodb-driver-legacy since mongo-java-driver uber jar is not published as of 4.0.
* Replace find modifiers, which were removed in 4.0, with calls to `FindIterable` methods
* Remove support for $maxScan, which is no longer supported by MongoDB
* Remove support for $explain.  The only way to explain with the 4.x driver is by calling `FindIterable#explain`.  We could do that, and then use `SingleTupleIterator`, but is it worth it?  Is explain only supported by OGM as a native query?
* Handle breaking changes in WriteConcern class
* Handle breaking changes related to MongoCredential
In the 4.0 Java driver, the default mode changed from
STRICT to RELAXED for Document#toJson. Explicitly setting
the mode to STRICT in tests so that JSON comparisons
continue to work.
@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern OGM-\d+
    ↳ Offending commits: [658b05c, 71797a9, db517fe, 4d3820d, b692516, 797596b, 2bcd27f]
❌ The PR title or body should list the keys of all JIRA issues mentioned in the commits
    ↳ Issue keys mentioned in commits but missing from the PR title or body: [OGM-1588]

› This message was automatically generated.

@DavideD DavideD closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants